
import request from '@/api/request.js';

//幸运大转盘-列表
export const GetLuckyTurntableApi = (data) => {
	return request(`/system/userLuckyTurntable/pageQuery`, 'GET', data, true)
}
//幸运大转盘-获奖
export const GetprizeApi = (data) => {
	return request(`/system/userLuckyTurntable/lottery`, 'GET', data, false)
}
//中奖列表
export const GetPrizeListApi = (data) => {
	return request(`/system/userLuckyTurntable/page`, 'GET', data, true)
}
//通知栏
export const GetNotificationApi = (data) => {
	return request(`/system/ruleAnnouncement/pageQuery`, 'GET', data, false)
}
//banner图
export const GetBannerListApi = (data) => {
	return request(`/system/ruleBanner/pageList`, 'GET', data, false)
}
//限时活动-签到
export const SetActiveSignApi = (data) => {
	return request(`/system/userLimitedTimeActivities/check`, 'POST', data, true)
}
//限时活动-页面
export const GetActiveListApi = (data) => {
	return request(`/system/userLimitedTimeActivities/dailyTask`, 'GET', data, false)
}
//限时活动-领取奖励
export const GetActivePrizeApi = (data) => {
	return request(`/system/userLimitedTimeActivities/taskRewards`, 'GET', data, true)
} 
 //进入登录之后开启通知
export const GetSignNoticeApi = (data) => {
	return request(`/system/userLimitedTimeActivities/signReminder`, 'GET', data, false)
}

//限时活动-签到提醒 
export const GetActiveSignNoticeApi = (data) => {
	return request(`/system/userLimitedTimeActivities/enableReminder`, 'GET', data, false)
}

// 获取分享信息
export const GetUserShareInfoApi = (data) => {
	return request(`/system/userShare/pageList`, 'GET', data, false)
}

// 获取首页商城top商品
export const GetHomeTopMallInfoApi = (data) => {
	return request(`/mall/mallInfo/getPopularMallInfo`, 'GET', data, false)
}

// 获取 老用户邀请奖励明细
export const GetInvitationRecordApi = (data) => {
	return request(`/system/userShare/getInvitationRecord`, 'GET', data, false)
}